package xiong.copy.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import xiong.copy.domain.QiniuContent;

/**
 * @date 2022-5-10
 * 继承JpaRepository实现基本的crud
 * */
public interface QiniuContentRepository extends JpaRepository<QiniuContent,Long> {

    //根据key进行查询
    //@param key文件名 @return QiniuContent
    public QiniuContent findByKey(String key);

}
